import uvicorn
from database import create_tables

if __name__ == "__main__":
    # 创建数据库表
    create_tables()

    # 启动应用
    uvicorn.run("main:app", host="0.0.0.0", port=8000, reload=True)
